package com.mnsq.subject.bean.condition;

import com.mnsq.subject.bean.base.BaseCondition;
import com.mnsq.subject.bean.entity.UserCollect;
import com.mnsq.subject.bean.entity.UserGreat;
import com.mnsq.common.bean.annotation.JpaFields;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author Administrator
 * @date 2019/4/7 0007
 */
@Data
@Accessors(chain = true)
public class UserOperateCondition extends BaseCondition {
    private Long userId;
    private Integer type;

    public UserGreat toGreat(){
        return new UserGreat();
    }

    public UserCollect toCollect(){
        return new UserCollect();
    }

    @Override
    public Object getInstance() {
        return null;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }
}
